var $;
layui.use(['jquery'], function () {
    $ = layui.jquery;
});
function reqRawHtml(url, data) {
    $.ajax({url: url, type: "GET", data:data,
        success: function (html) {
            $(".layui-body").html(html);
            //document.getElementsByClassName(".layui-body").innerHTML = html;
        },
        error: function (xhr, status, error) {
            if (xhr.status === 400) {
                layer.msg('格式不正确')
            } else {
                layer.msg("网络请求失败")
            }
        }
    });
}